<?php
/**
 * 根据中文活动名称 获取配置信息
 */
class ActivityConf_getActivityInfoByEn {
	function getActivityInfoByEn($game, $activityNameEn) {
		// 如果活动名称非空
		$activityConf = MooConfig::get('activityconfig.platConf');
		$gameActConf = $activityConf[$game]['activity'];
		$excels = array();
		if($gameActConf) {
			foreach ($gameActConf as $key => $val) {
				if($activityNameEn == $val['activityNameEn']) {
					$return = $val;
				}
			}
		}
		
		return $return;
	}
}